home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet internetowy / Przegladarki internetowe / Mozilla Seamonkey 1.0.5 pl / seamonkey-1.0.5.pl-PL.win32.installer.exe / MAIL.XPI / bin / chrome / messenger.jar / content / messenger-smime / msgCompSMIMEOverlay.xul < prev    next >
Encoding:
Extensible Markup Language  |  2005-03-09  |  5.6 KB  |  110 lines

  1. <?xml version="1.0"?> 
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3.    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4.    -
  5.    - The contents of this file are subject to the Mozilla Public License Version
  6.    - 1.1 (the "License"); you may not use this file except in compliance with
  7.    - the License. You may obtain a copy of the License at
  8.    - http://www.mozilla.org/MPL/
  9.    -
  10.    - Software distributed under the License is distributed on an "AS IS" basis,
  11.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.    - for the specific language governing rights and limitations under the
  13.    - License.
  14.    -
  15.    - The Original Code is Mozilla Communicator client code, released
  16.    - March 31, 1998.
  17.    -
  18.    - The Initial Developer of the Original Code is
  19.    - Netscape Communications Corporation.
  20.    - Portions created by the Initial Developer are Copyright (C) 1999
  21.    - the Initial Developer. All Rights Reserved.
  22.    -
  23.    - Contributor(s):
  24.    -   David Drinan <ddrinan@netscape.com>
  25.    -   Scott MacGregor <mscott@netscape.com
  26.    -
  27.    - Alternatively, the contents of this file may be used under the terms of
  28.    - either of the GNU General Public License Version 2 or later (the "GPL"),
  29.    - or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  30.    - in which case the provisions of the GPL or the LGPL are applicable instead
  31.    - of those above. If you wish to allow use of your version of this file only
  32.    - under the terms of either the GPL or the LGPL, and not to allow others to
  33.    - use your version of this file under the terms of the MPL, indicate your
  34.    - decision by deleting the provisions above and replace them with the notice
  35.    - and other provisions required by the GPL or the LGPL. If you do not delete
  36.    - the provisions above, a recipient may use your version of this file under
  37.    - the terms of any one of the MPL, the GPL or the LGPL.
  38.    -
  39.    - ***** END LICENSE BLOCK ***** -->
  40.  
  41.  
  42. <?xml-stylesheet href="chrome://messenger/skin/smime/msgCompSMIMEOverlay.css" type="text/css"?> 
  43.  
  44. <!DOCTYPE overlay SYSTEM "chrome://messenger-smime/locale/msgCompSMIMEOverlay.dtd">
  45.  
  46. <overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  47.  
  48.   <script type="application/x-javascript" src="chrome://messenger-smime/content/msgCompSMIMEOverlay.js"/>
  49.   <script type="application/x-javascript"><![CDATA[
  50.     window.addEventListener("load", smimeComposeOnLoad, true);
  51.   ]]></script>
  52.  
  53.   <window id="msgcomposeWindow">
  54.     <broadcaster id="securityStatus" crypto="" signing=""/>
  55.     <observes element="securityStatus" attribute="crypto" />
  56.     <observes element="securityStatus" attribute="signing" />
  57.     <stringbundle id="bundle_comp_smime" src="chrome://messenger-smime/locale/msgCompSMIMEOverlay.properties"/>
  58.     <stringbundle id="bundle_brand" src="chrome://branding/locale/brand.properties"/>
  59.   </window>
  60.  
  61.   <menupopup id="optionsMenuPopup">
  62.     <menuseparator insertafter="fccMenu"/>
  63.     <menu label="&securityMenu.label;" accesskey="&securityMenu.accesskey;">
  64.       <menupopup onpopupshowing="setSecuritySettings(1)">
  65.         <menuitem id="menu_securityNoEncryption1" type="radio" name="encryptmessage" 
  66.           accesskey="&menu_securityNoEncryption.accesskey;" label="&menu_securityNoEncryption.label;" oncommand="noEncryption()"/>
  67.         <menuitem id="menu_securityEncryptRequire1" type="radio" name="encryptmessage" 
  68.           accesskey="&menu_securityEncryptRequire.accesskey;" label="&menu_securityEncryptRequire.label;" oncommand="encryptMessage()"/>
  69.         <menuseparator/>
  70.         <menuitem id="menu_securitySign1" type="checkbox" accesskey="&menu_securitySign.accesskey;" label="&menu_securitySign.label;" oncommand="signMessage()"/>
  71.       </menupopup>
  72.     </menu>
  73.   </menupopup>
  74.  
  75.   <hbox id="toolbar_button_box">
  76.     <toolbarbutton id="button-security" type="menu-button" insertbefore="saveSeparator"
  77.                    oncommand="doSecurityButton();" class="toolbarbutton-1"
  78.                    label="&securityButton.label;" tooltiptext="&securityButton.tooltip;">
  79.       <menupopup onpopupshowing="setSecuritySettings(2)">
  80.         <menuitem id="menu_securityNoEncryption2" type="radio" name="encryptmessage" 
  81.           accesskey="&menu_securityNoEncryption.accesskey;" label="&menu_securityNoEncryption.label;" oncommand="setNextCommand('noEncryption');"/>
  82.         <menuitem id="menu_securityEncryptRequire2" type="radio" name="encryptmessage" 
  83.           accesskey="&menu_securityEncryptRequire.accesskey;" label="&menu_securityEncryptRequire.label;" oncommand="setNextCommand('encryptMessage')"/>
  84.         <menuseparator/>
  85.         <menuitem id="menu_securitySign2" type="checkbox" accesskey="&menu_securitySign.accesskey;" label="&menu_securitySign.label;" oncommand="setNextCommand('signMessage');"/>
  86.         <menuseparator/>
  87.         <menuitem id="menu_securityStatus2" accesskey="&menu_securityStatus.accesskey;" label="&menu_securityStatus.label;" oncommand="setNextCommand('show');"/>
  88.       </menupopup>
  89.     </toolbarbutton>
  90.   </hbox>
  91.  
  92.   <statusbar id="status-bar">
  93.     <statusbarpanel insertbefore="offline-status" class="statusbarpanel-iconic" collapsed="true"
  94.       id="signing-status" oncommand="showMessageComposeSecurityStatus();"/>
  95.     <statusbarpanel insertbefore="offline-status" class="statusbarpanel-iconic" collapsed="true"
  96.       id="encryption-status" oncommand="showMessageComposeSecurityStatus();"/>
  97.   </statusbar>
  98.  
  99.   <commandset id="composeCommands">
  100.     <command id="cmd_viewSecurityStatus" oncommand="showMessageComposeSecurityStatus();"/>
  101.   </commandset>
  102.  
  103.   <menupopup id="menu_View_Popup">
  104.     <menuseparator/>
  105.     <menuitem label="&menu_viewSecurityStatus.label;" 
  106.       accesskey="&menu_viewSecurityStatus.accesskey;" observes="cmd_viewSecurityStatus"/>
  107.   </menupopup>
  108.  
  109. </overlay>
  110.